package online.longzipeng.householdbillssystem.business.vo.permiss;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.Min;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@ApiModel(value = "权限修改对象",description = "请求参数类")
public class PermissUpdateVO {

    @ApiModelProperty(value = "id",required = true)
    @Min(0)
    private Integer id;

    @ApiModelProperty(value = "权限名称",example = "增加",required = false)
    private String name;

    @ApiModelProperty(value = "权限码",example = "save",required = false)
    private String code;

}